package com.wxsoft.business.sys.pojo;

import java.util.Date;

import org.codehaus.jackson.map.annotate.JsonSerialize;
import org.springframework.format.annotation.DateTimeFormat;

import com.alibaba.fastjson.annotation.JSONField;
import com.wxsoft.frame.format.CustomDateSerializer;

public class SysMenu {
	private int id;
	private String code;
	private String num;
	private String pcode;
	private String pcodes;
	private String name;
	private String icons;
	private String url;
	private String levels;
	private String ismenu;
	private String status;
	private String isopen;
	private String handle;

//	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") 
	@JSONField (format="yyyy-MM-dd HH:mm:ss") 
	private Date handle_date;
	private String tips;
	
	private String ismenuName ;
	private String isopenName ;
	private String statusName ;

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getNum() {
		return num;
	}
	public void setNum(String num) {
		this.num = num;
	}
	public String getPcode() {
		return pcode;
	}
	public void setPcode(String pcode) {
		this.pcode = pcode;
	}
	public String getPcodes() {
		return pcodes;
	}
	public void setPcodes(String pcodes) {
		this.pcodes = pcodes;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getIcons() {
		return icons;
	}
	public void setIcons(String icons) {
		this.icons = icons;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getLevels() {
		return levels;
	}
	public void setLevels(String levels) {
		this.levels = levels;
	}
	public String getIsmenu() {
		return ismenu;
	}
	public void setIsmenu(String ismenu) {
		this.ismenu = ismenu;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getIsopen() {
		return isopen;
	}
	public void setIsopen(String isopen) {
		this.isopen = isopen;
	}
	public String getHandle() {
		return handle;
	}
	public void setHandle(String handle) {
		this.handle = handle;
	}
//	@JSONField (format="yyyy-MM-dd HH:mm:ss")
	@JsonSerialize(using=CustomDateSerializer.class)
	public Date getHandle_date() {
		return handle_date;
	}
//	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public void setHandle_date(Date handle_date) {
		this.handle_date = handle_date;
	}
	public String getTips() {
		return tips;
	}
	public void setTips(String tips) {
		this.tips = tips;
	}
	public String getIsmenuName() {
		return ismenuName;
	}
	public void setIsmenuName(String ismenuName) {
		this.ismenuName = ismenuName;
	}
	public String getIsopenName() {
		return isopenName;
	}
	public void setIsopenName(String isopenName) {
		this.isopenName = isopenName;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}

	
}
